package model.spring;

public class EmailonlyAddress extends AbstractAddress {

	private static final long serialVersionUID = -6255461097792528500L;

	public EmailonlyAddress() {
		super();
	}
	
	public EmailonlyAddress(String name, String email) {
		this.name = name;
		this.emailaddress = email;
	}

	@Override
	public AbstractAddress clone() {
		EmailonlyAddress clone = new EmailonlyAddress();
		clone.setName(this.getName());
		clone.setEmailaddress(this.getEmailaddress());
		return clone;
	}
	
}
